package com.tuanzi.loan.business.service.settlement;

import com.tuanzi.loan.business.entity.settlement.FirstpartyDataChangeRecord;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.settlement.FirstpartyDataChangeRecordInfoRequest;
import com.tuanzi.loan.vo.request.settlement.FirstpartyDataChangeRecordRequest;
import com.tuanzi.loan.vo.response.settlement.FirstpartyDataChangeRecordResponse;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-01-18 10:15
 */
public interface FirstpartyDataChangeRecordService extends BaseAuditService<FirstpartyDataChangeRecord,Long> {
    Page<FirstpartyDataChangeRecordResponse> list(PageSearcher<FirstpartyDataChangeRecordRequest> pageSearcher);


    List<FirstpartyDataChangeRecord> findFirstpartyInfo(FirstpartyDataChangeRecordInfoRequest searchRequest);

    void saveDataChangeRecord(List<FirstpartyDataChangeRecord> recordList);
}
